package com.example.demo.token.generator;

import com.auth0.jwt.interfaces.Claim;
import com.example.demo.domain.po.SystemUser;

import java.util.Map;

/**
 * @Author: 聂吉泽
 * @Description:
 * @Date: create in 2021/11/5 14:33
 */
public interface JwtTokenGenerator {
    String createToke(SystemUser systemUser);

    Map<String, Claim> verifyToken(String token);
}
